Skip to content

Conversation

@Hdandria
Copy link

@Hdandria Hdandria commented Dec 4, 2025

Cookbook Pull Request

Description

This PR fixes a runtime error encountered while running the Multi-Agent Earnings Call example and improves the setup instructions for a faster time to hello world when executing cookbooks.

Changes included:

  • Critical Fix: Updated the deprecated method coordinator.set_communication_agent to coordinator.set_email_communication_agent (fixes an AttributeError).
  • Dependencies: Added missing packages to README.md and notebook cells to ensure the code runs successfully in a fresh environment (e.g., Google Colab or local uv/venv).
  • Cleanup: Removed unused imports to improve code readability.

Type of Change

What type of PR is it?

  • New Cookbook
    • Notebook File
      • Does it work on google colab?
    • Markdown File
  • Cookbook Update
    • Code Refactoring
    • Bug Fix
  • README.md Update

  • Other (please describe):

Cookbook Checklist:

  • My code is easy to read and well structured.
  • I've tagged the versions of any dependency required.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • My changes generate no new warnings or errors.

  • My changes do not concern the cookbooks.

README.md Checklist

  • I've added my cookbook to the table.

  • My changes do not concern the README file.

Additional Context

Without this fix, the agent execution fails with:
AttributeError: 'Coordinator' object has no attribute 'set_communication_agent'

Validated by running the notebook from start to finish.

- Few README.md updated to add all needed dependencies.
- Some useless import removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant